/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rdr.xfiles.model.filesystem;

import java.io.File;

/**
 *
 * @author ruanor
 */
public class FileSystemEntity {
    private String name;

    public FileSystemEntity()
    {
    }
    
    public FileSystemEntity(File file)
    {
        name = file.getName();
        
        if(name.equals(""))
            name = file.getPath();
    }
    
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }
}
